// const HOST = 'http://localhost:3000/api'
// const HOST = 'http://192.168.191.1:3000/api'
const HOST = 'http://ngrok.chengguo.link/api'

module.exports = {
	user: {
		login: HOST + '/user/login',
		update: HOST + '/user/update',
	},

	// 首页轮播图
	banner: HOST + '/banners',
	// 校园动态
	dynamic: {
		list: HOST + '/dynamic/list',
      item: HOST + '/dynamic/item',
      create: HOST + '/dynamic/create',
		update: HOST + '/dynamic/update',
	},
	// 学院接口
	college: HOST + '/college',
	// 专业接口
	major: HOST + '/major',
	article: {
		class: HOST + '/article/class', // 文章分类
		list: HOST + '/article/list', // 文章列表
		item: HOST + '/article/item' // 文章详情
	}
}